package xyz.hujf.product.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xyz.hujf.product.service.UserService;
import xyz.hujf.productvo.mapper.UserMapper;
import xyz.hujf.productvo.model.User;
import xyz.hujf.productvo.model.UserExample;

import java.util.List;

/**
 * @author Hujf
 * @title: UserServiceImpl
 * @date 2021/4/1613:48
 * @description: TODO
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public List<User> findall() {
        return userMapper.selectByExample(new UserExample());
    }
}
